﻿using Nancy.Security;

namespace TaskManagementSystem.Modules
{
    public class SecureModule : FrontModule
    {
        public SecureModule() : base()
        {
            this.RequiresHttps();
            this.RequiresAuthentication();
            this.RequiresClaims(new[] { "Admin" });
        }
    }
}